Skip to content

Conversation

@miguelg719
Copy link
Collaborator

@miguelg719 miguelg719 commented Nov 13, 2025

why

The os key in browser_settings was being stripped during Pydantic validation because the SDK's BrowserbaseSessionCreateParams type doesn't include it, preventing users from setting custom OS settings like "mobile".

what changed

Changed browserbase_session_create_params field type from Union[BrowserbaseSessionCreateParams, dict[str, Any]] to dict[str, Any] in config.py to bypass SDK type validation and preserve custom keys.

test plan

@miguelg719 miguelg719 marked this pull request as ready for review November 13, 2025 21:16
@miguelg719 miguelg719 merged commit cea5af9 into main Nov 14, 2025
13 checks passed
@github-actions github-actions bot mentioned this pull request Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants